<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/common/head.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>

<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">

<title>创建公告</title>
<link href="${resource }/css/bootstrap.css" rel="stylesheet">
<link href="${resource }/font-awesome/css/font-awesome.css?v=4.3.0"
	rel="stylesheet">
<!--富文本编辑器-->
<link rel="stylesheet" type="text/css"
	href="${resource }/css/plugins/simditor/simditor.css" />
<link href="${resource }/css/style.css?v=2.2.0" rel="stylesheet">
<link rel="stylesheet" href="${resource }/css/notices.css" />
<link rel="stylesheet" href="${resource }/css/iconfont.css" />
</head>

<body style="background-color: #f3f3f4;">
	<div class="row wrapper border-bottom white-bg page-heading">
		<div class="col-lg-10">
			<h2>创建公告</h2>
			<ol class="breadcrumb">
				<li><a href="index.html">主页</a></li>
				<li><a>创建公告</a></li>
			</ol>
		</div>
		<div class="col-lg-2"></div>
	</div>
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-lg-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>
							公告 <small>创建公告</small>
						</h5>
						<div class="ibox-tools">
							<a class="collapse-link"> <i class="fa fa-chevron-up"></i>
							</a> <a class="dropdown-toggle" data-toggle="dropdown"
								href="form_basic.html#"> <i class="fa fa-wrench"></i>
							</a> <a class="close-link"> <i class="fa fa-times"></i>
							</a>
						</div>
					</div>
					<div class="ibox-content">
						<!-- <form action="saveNotice.do" method="post" class="form-horizontal"> -->
						<div class="form-horizontal">
							<div class="form-group">
								<label class="col-sm-2 control-label">标题</label>

								<div class="col-sm-10">
									<input id="noticeTitle" type="text" class="form-control"
										name="noticeTitle">
								</div>
							</div>
							<!--
											作者：985379016@qq.com
											时间：2018-08-21
											描述：富文本编辑器 simditor
										-->

							<div class="col-lg-12">
								<div class="ibox float-e-margins">
									<div class="ibox-title">
										<h5>内容</h5>
										<div class="ibox-tools">
											<a class="collapse-link"> <i class="fa fa-chevron-up"></i>
											</a> <a class="close-link"> <i class="fa fa-times"></i>
											</a>
										</div>
									</div>
									<div class="ibox-content">
										<textarea id="editor">
									                             
		                               </textarea>
									</div>
								</div>
							</div>

							<!--		
								作者：985379016@qq.com
								时间：2018-08-21
								描述：web uploader
							-->
							<div class="form-group">
								<label class="col-sm-2 control-label">文件上传</label>

								<div class="col-sm-10">
									<input type="file" id="noticeFile" name="noticeFile" enctype="multipart/form-data" multiple  >
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">状态</label>
								<div class="col-sm-10">
									<select class="form-control m-b" name="isPublish"
										id="isPublish">
										<option>已发布</option>
										<option>待发布</option>
									</select>
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<div class="col-sm-4 col-sm-offset-2">
									<button id="save" class="btn btn-primary" type="button">保存内容</button>
									<button id="cancle" class="btn btn-white" type="button">取消</button>
								</div>
							</div>
						</div>
						<!-- 	</form> -->
					</div>
				</div>
			</div>
		</div>
	</div>

	<!-- Mainly scripts -->
	<script src="${resource }/js/jquery-2.1.1.min.js"></script>
	<script src="${resource }/js/bootstrap.min.js?v=3.4.0"></script>
	<script src="${resource }/js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script
		src="${resource }/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<!-- Custom and plugin javascript -->
	<script src="${resource }/js/hplus.js?v=2.2.0"></script>
	<script src="${resource }/js/plugins/pace/pace.min.js"></script>

	<!-- iCheck -->
	<script src="${resource }/js/plugins/iCheck/icheck.min.js"></script>
	<!-- simditor -->
	<script type="text/javascript"
		src="${resource }/js/plugins/simditor/module.js"></script>
	<script type="text/javascript"
		src="${resource }/js/plugins/simditor/uploader.js"></script>
	<script type="text/javascript"
		src="${resource }/js/plugins/simditor/hotkeys.js"></script>
	<script type="text/javascript"
		src="${resource }/js/plugins/simditor/simditor.js"></script>

	<script type="text/javascript" src="${resource }/js/newNotice.js"></script>
	<script>
		$(document).ready(function() {
			var editor = new Simditor({
				textarea : $('#editor'),
				placeholder : '这里输入文字...',
				toolbar : toolbar,
				pasteImage : true,
				pasteImage : false,
			});
		});
	</script>
</body>

</html>